home *** CD-ROM | disk | FTP | other *** search
- regc( 0, "TFACTOR" )
-
- pshader("
-
- ps_1_1
-
- def c1, 0.13, 0.23, 0.33, 0.0
-
- tex t0 ;texture
- tex t1 ;Diffuse
- tex t2 ; Cubemap
- tex t3 ; broken
-
- #define Fresnel v0
-
- mov r0, t0;
-
- add r0.rgb, t3, r0
-
- mul r0.rgb, r0, t1
- +add r1.a, c1.a, Fresnel.b
-
- ;dp3 r1.rgb, r0, c1 ; chyba w menu niepotrzebne :-)
-
- mad r0.rgb, t2, r1.a, r0
- ;add_sat r0.a, r1.b, t0.a ; chyba w menu niepotrzebne :-)
-
- ")
-
-